package com.story.domain;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.story.web.utils.DateJsonSerializer;

public class SessionEntity {
	private String jsessionId;
	private String loginName;
	private String loginIp;
	private Date startLoginTime;
	private Date lastAccessTime;
	public String getJsessionId() {
		return jsessionId;
	}
	public void setJsessionId(String jsessionId) {
		this.jsessionId = jsessionId;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	@JsonSerialize(using=DateJsonSerializer.class)
	public Date getStartLoginTime() {
		return startLoginTime;
	}	
	public void setStartLoginTime(Date startLoginTime) {
		this.startLoginTime = startLoginTime;
	}
	@JsonSerialize(using=DateJsonSerializer.class)
	public Date getLastAccessTime() {
		return lastAccessTime;
	}
	public void setLastAccessTime(Date lastAccessTime) {
		this.lastAccessTime = lastAccessTime;
	}
	
	
	
}
